<?php

namespace app\admin\model;

class Surface extends Base
{

    // 表名
    protected $name = 'bd_surface';

    public function bdgroup()
    {
        return $this->hasOne("Surfacecate", 'id', 'fk_bdl_bdgroup');
    }

    public function image()
    {
        return $this->hasOne("Materialimage", 'id', 'fk_bdl_surface');
    }



}
